﻿<baseClass:Control xmlns:baseClass="clr-namespace:EFS.RC.CCAdmin.Common" xmlns:my2="clr-namespace:EFS.Common.UI.Controls.Toolbar;assembly=EFS.Common.UI"  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  xmlns:my1="clr-namespace:EFS.Common.UI.Controls.Menu;assembly=EFS.Common.UI"  xmlns:my="clr-namespace:EFS.Common.UI.Controls;assembly=EFS.Common.UI"  x:Class="EFS.RC.CCAdmin.Offices.Edit"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="500" d:DesignWidth="800">

	<Grid MinHeight="500" MinWidth="800">
		<my:Header HorizontalAlignment="Stretch" Name="controlHeader" VerticalAlignment="Top" Height="95" Text="Offices" />
		<Border Background="#FF585858" Margin="0,95,0,0" Height="1" VerticalAlignment="Top" />
		<Grid Margin="0,96,0,0">
			<Grid.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="White" Offset="0.64" />
					<GradientStop Color="WhiteSmoke" Offset="1" />
				</LinearGradientBrush>
			</Grid.Background>
			<sdk:Label VerticalAlignment="Top" Content="SIP:" Height="18" Margin="6,6,760,0" VerticalContentAlignment="Stretch" />
			<TextBox Height="25" HorizontalAlignment="Left" Margin="35,2,0,0" Name="textBoxSIP" Text="" VerticalAlignment="Top" Width="379" />
			<Border Background="#FF585858" Margin="0,31,0,0" Height="1" VerticalAlignment="Top" />
			<my2:Toolbar Margin="0,32,0,0" Height="34" VerticalAlignment="Top">
				<Border Background="#FF585858" Width="1" HorizontalAlignment="Left" />
				<my2:ToolbarItem Content="New Supervisor" Click="ToolbarItemSupervisorNew_Click" />
				<Border Background="#FF585858" Width="1" HorizontalAlignment="Left" />
				<my2:ToolbarItem Content="New Agent" Click="ToolbarItemAgentNew_Click" />
				<Border Background="#FF585858" Width="1" HorizontalAlignment="Left" />
			</my2:Toolbar>
			<Border Background="#FF585858" Margin="0,65,0,0" Height="1" VerticalAlignment="Top" />
			<sdk:DataGrid x:Name="dataGridSupervisors" Margin="35,70,5,0" Height="165" VerticalAlignment="Top" AutoGenerateColumns="False" MaxWidth="800">
				<sdk:DataGrid.Columns>
					<sdk:DataGridTextColumn Binding="{Binding Path=DomainLogonName}" Header="Domain Logon Name" IsReadOnly="True" Width="Auto" />
					<sdk:DataGridTextColumn Binding="{Binding Path=FirstName}" Header="First Name" IsReadOnly="True" Width="Auto" />
					<sdk:DataGridTextColumn Binding="{Binding Path=LastName}" Header="Last Name" IsReadOnly="True" Width="Auto" />
					<sdk:DataGridTemplateColumn Header="">
						<sdk:DataGridTemplateColumn.CellTemplate>
							<DataTemplate>
								<HyperlinkButton Content="View" Click="SupervisorEditButton_Click" VerticalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></HyperlinkButton>
							</DataTemplate>
						</sdk:DataGridTemplateColumn.CellTemplate>
					</sdk:DataGridTemplateColumn>
					<sdk:DataGridTemplateColumn Header="">
						<sdk:DataGridTemplateColumn.CellTemplate>
							<DataTemplate>
								<HyperlinkButton Content="Delete" Click="SupervisorDeleteButton_Click" HorizontalAlignment="Center" VerticalAlignment="Center"></HyperlinkButton>
							</DataTemplate>
						</sdk:DataGridTemplateColumn.CellTemplate>
					</sdk:DataGridTemplateColumn>
				</sdk:DataGrid.Columns>
			</sdk:DataGrid>
			<sdk:DataGrid x:Name="dataGridAgents" Margin="35,237,5,0" Height="165" VerticalAlignment="Top" AutoGenerateColumns="False" MaxWidth="800">
				<sdk:DataGrid.Columns>
					<sdk:DataGridTextColumn Binding="{Binding Path=DomainLogonName}" Header="Domain Logon Name" IsReadOnly="True" Width="Auto" />
					<sdk:DataGridTextColumn Binding="{Binding Path=FirstName}" Header="First Name" IsReadOnly="True" Width="Auto" />
					<sdk:DataGridTextColumn Binding="{Binding Path=LastName}" Header="Last Name" IsReadOnly="True" Width="Auto" />
					<sdk:DataGridTemplateColumn Header="">
						<sdk:DataGridTemplateColumn.CellTemplate>
							<DataTemplate>
								<HyperlinkButton Content="Edit" Click="AgentEditButton_Click" VerticalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></HyperlinkButton>
							</DataTemplate>
						</sdk:DataGridTemplateColumn.CellTemplate>
					</sdk:DataGridTemplateColumn>
					<sdk:DataGridTemplateColumn Header="">
						<sdk:DataGridTemplateColumn.CellTemplate>
							<DataTemplate>
								<HyperlinkButton Content="Delete" Click="AgentDeleteButton_Click" HorizontalAlignment="Center" VerticalAlignment="Center"></HyperlinkButton>
							</DataTemplate>
						</sdk:DataGridTemplateColumn.CellTemplate>
					</sdk:DataGridTemplateColumn>
				</sdk:DataGrid.Columns>
			</sdk:DataGrid>
			<sdk:Label Height="21" HorizontalAlignment="Left" Margin="9,197,0,0" Name="label1" VerticalAlignment="Top" Width="74" Content="Supervisors" FlowDirection="LeftToRight" HorizontalContentAlignment="Stretch">
				<sdk:Label.RenderTransform>
					<RotateTransform Angle="-90"></RotateTransform>
				</sdk:Label.RenderTransform>
			</sdk:Label>
			<sdk:Label Content="Agents" FlowDirection="LeftToRight" Height="21" HorizontalAlignment="Left" HorizontalContentAlignment="Stretch" Margin="8,348,0,0" Name="label2" VerticalAlignment="Top" Width="48">
				<sdk:Label.RenderTransform>
					<RotateTransform Angle="-90" />
				</sdk:Label.RenderTransform>
			</sdk:Label>
		</Grid>
	</Grid>
</baseClass:Control>